package navigation;

/**
 * Thrown to indicate that a map-position is illegal
 *
 * @author hyurah
 */

public class IllegalMapPositionException extends Exception{

	/**
	 * Constructs an IllegalMapPositionException with specified x and y position
	 *
	 * @param x illegal x position
	 * @param y illegal y position
	 */

	IllegalMapPositionException(int x, int y) {
		super("x:" + x + " y:" + y);
	}

}
